Creating a global event rule has changed from https://api.pagerduty.com/event_rules to https://api.pagerduty.com/rulesets//rules
https://developer.pagerduty.com/docs/rest-api-v2/global-event-rules-api/ is still pointing to create event rules with old API
When the old endpoint is tried, we get:
{
"error": "Request is not acceptable: this rule or ruleset uses feature(s) that are only compatible with the V2 API. These invalid features could include: variables, extractions, suspends, or auto-remediation."
}